package com.springboot.learning.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * Created by MK12226 on 2017/7/20.
 */
@Controller
public class FreeMarksController {
    @RequestMapping(value="freemarkerview")
    public String freeMarksView(Model model){
        model.addAttribute("name","TonyWoo");
        return "freemarkerTest";
    }
}
